home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 March / CMCD0305.ISO / Software / Shareware / Comunicatii / TrafMeter5 / TrafMeter56.exe / {app} / fsreport.xsl < prev    next >
Extensible Markup Language  |  2005-01-08  |  3KB  |  82 lines

  1. <?xml version="1.0"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:template match="/">
  4. <HTML>
  5. <HEAD>
  6. <STYLE>
  7. td.x { font-family:Verdana,Arial; font-size:10pt; text-align:justify; margin-left:4pt; margin-right:4pt; }
  8. li.x { font-family:Verdana,Arial; font-size:10pt; text-align:justify; margin-left:4pt; margin-right:4pt; }
  9. p.x { font-family:Verdana,Arial; font-size:10pt; text-align:justify; margin-left:4pt; margin-right:4pt; }
  10. h3.x { font-family:Verdana,Arial; font-size:14pt; text-align:justify; margin-left:4pt; margin-right:4pt; }
  11. </STYLE>
  12. </HEAD>
  13. <BODY leftmargin="10">
  14. <H3 class="x">The Filteset Report</H3>
  15. <table cellpadding="5" border="1" bordercolor="#E0E0E0" cellspacing="0" STYLE="font-family: verdana; font-size:10">
  16. <tr>
  17.  <td class="x"><B>Id</B></td>
  18.  <td class="x"><B>Filter Name</B></td>
  19.  <td class="x"><B>PktLog</B></td>
  20.  <td class="x"><B>HostLog</B></td>
  21.  <td class="x"><B>ParseVpn</B></td>
  22.  <td class="x"><B>NoReport</B></td>
  23.  <td class="x"><B>ZeroDay</B></td>
  24.  <td class="x"><B>ZeroMonth</B></td>
  25. </tr>
  26. <xsl:for-each select="TrafficMonitor/Filter">
  27.  <tr>
  28.  <td class="x">
  29.   <xsl:value-of select="Id"/>
  30.  </td>
  31.  <td class="x">
  32.  <xsl:value-of select="Name"/>
  33.  </td>
  34.  <td class="x">
  35.   <xsl:if test="PackLogDest='0'">-</xsl:if>
  36.   <xsl:if test="PackLogDest='1'">File</xsl:if>
  37.   <xsl:if test="PackLogDest='2'">Db</xsl:if>
  38.  </td>
  39.  <td class="x">
  40.   <xsl:if test="HhLogDest='0'">-</xsl:if>
  41.   <xsl:if test="HhLogDest='1'">File</xsl:if>
  42.   <xsl:if test="HhLogDest='2'">Db</xsl:if>
  43.  </td>
  44.  <td class="x">
  45.   <xsl:if test="ParseVpn='0'">-</xsl:if>
  46.   <xsl:if test="ParseVpn='1'">+</xsl:if>
  47.  </td>
  48.  <td class="x">
  49.   <xsl:if test="ExcludeCnt='0'">-</xsl:if>
  50.   <xsl:if test="ExcludeCnt='1'">+</xsl:if>
  51.  </td>
  52.  <td class="x">
  53.   <xsl:if test="ZeroEveryDay='0'">-</xsl:if>
  54.   <xsl:if test="ZeroEveryDay='1'">+</xsl:if>
  55.  </td>
  56.  <td class="x">
  57.   <xsl:if test="ZeroEveryMonth='0'">-</xsl:if>
  58.   <xsl:if test="ZeroEveryMonth='1'">+</xsl:if>
  59.  </td>
  60.  </tr>
  61. </xsl:for-each>
  62. </table>
  63.  
  64. <p class="x">Legend:</p>
  65. <ul>
  66.  <li class="x">PktLog - Packet Logging</li>
  67.  <li class="x">HostLog - HTTP Host Header Logging</li>
  68.  <li class="x">ParseVpn - parse unencrypted VPN packets before processing in this filter</li>
  69.  <li class="x">NoReport - Exclude the traffic counters of this filter from reports</li>
  70.  <li class="x">ZeroDay - Reset counters to zero every day at 0:00 AM</li>
  71.  <li class="x">ZeroMonth - Reset counters to zero every 1st day of month at 0:00</li>
  72. </ul>
  73.  
  74. <p class="x">
  75. <i>Last Modified:
  76. <xsl:value-of select="TrafficMonitor/DateTime"/>
  77. </i></p>
  78. </BODY>
  79. </HTML>
  80. </xsl:template>
  81. </xsl:stylesheet>
  82.